package com.grt.condify.annotation;




import com.grt.condify.common.constant.CommonConstants;
import com.grt.condify.common.constant.SearchTypeValue;

import java.lang.annotation.*;

@Documented
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface SearchType {
    SearchTypeValue type() default SearchTypeValue.EQ;

    String searchField() default "";

    /**
     * 检索字段类型，默认为0：普通检索，1：特殊检索
     */
    int sfType() default CommonConstants.NORMAL_SEARCH_FILED_TYPE;

    String[] searchFields() default {};
}
